
/**
 * @description ProcedureServiceImpl.java
 * @author dongbin
 * @version 
 * @copyright
 */

package com.erp.common.proc.service.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.erp.common.ap.pay.dao.ApPayHeadDao;
import com.erp.common.proc.dao.ProcedureDao;
import com.erp.common.proc.service.ProcedureService;

/**
 * @description
 * @date 2020年10月13日
 * @author dongbin
 * 
 */
@Service("procedureServiceCommon")
//@Transactional(rollbackFor=Exception.class)
public class ProcedureServiceImpl implements ProcedureService {
    
    //注入Dao
    @Autowired
    @Qualifier("procedureDaoCommon")
    private ProcedureDao procedureDao;

    @Override
    public int saveHistoryData(String tableName, String primaryKey, String primarykeyValue) {
        return this.procedureDao.saveHistoryData(tableName, primaryKey, primarykeyValue);
    }

}
